home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / VBASIC / KEYCHECK.ZIP / KEYCHECK.TXT < prev   
Encoding:
Text File  |  1996-01-14  |  1.4 KB  |  38 lines

  1. From     : steve@garman.demon.co.uk
  2. Filename : keycheck.zip
  3. Size     : 3167 bytes
  4. Short    : Check what codes a key depression sends to VB
  5. Long     :
  6. This program was written when I got sick of trying to remember which
  7. special keys fire which event.
  8. For instance, did you know that, whilst the Print Screen key doesn't
  9. cause a keydown event or a keypress event, it does cause a keyup event? 
  10.  
  11. All you do is press any key. If it causes a keydown event, the associated
  12. keycode is displayed in the first label, with the value of the button
  13. argument in the label underneath.
  14. If there is a keypress event, then keyascii's value appears in the third
  15. label.
  16. When you release the key, any keyup values are also displayed.
  17.  
  18. You can clear any label to "" by clicking on it with the left mouse
  19. button. Clicking with the right mouse button will clear them all.
  20.            
  21. The full source is included. The files in the zip should be: 
  22.  
  23.  Volume in drive C is MS-DOS_6_2 
  24.  Volume Serial Number is 381F-14FB
  25.  Directory of C:\VB\GARMAN\KEYCHECK
  26.  
  27. KEYCHECK.EXE The executable - requires vbrun300.dll
  28. KEYCHECK.FRM The VB3 source code
  29. KEYCHECK.MAK The project file
  30. KEYCHECK.TXT This file
  31.  
  32. There are no real comments in the source, working out what it does
  33. is left as an exercise for the reader :-)
  34.  
  35. If you like the 3D effects, you may be interested to know that they
  36. are achieved purely with the subroutine "outline" which is included
  37. in the form.
  38.